#pragma once
#include <Catentacle.h>

class ExampleLayer : public Catentacle::Layer
{
public:
	ExampleLayer();

	void OnUpdate(Catentacle::TimeStep ts) override;

	virtual void OnImGuiRender() override;

	void OnEvent(Catentacle::Event& event) override;
private:
	Catentacle::ShaderLibrary m_ShaderLibrary;

	Catentacle::Ref<Catentacle::Shader> m_Shader;
	Catentacle::Ref<Catentacle::VertexArray> m_VertexArray;

	Catentacle::Ref<Catentacle::Shader> m_FlatColorShader;
	Catentacle::Ref<Catentacle::VertexArray> m_SquareVA;

	Catentacle::Ref<Catentacle::Texture2D> m_Texture, m_CatentacleLogoTexture;

	Catentacle::OrthoCameraController m_CameraController;

	glm::vec3 m_SquareColor = { 0.2f,0.3f,0.8f };
};